#include "../HSGlobal.h"
#include "UniformPowerModel.h"

UniformPowerModel::UniformPowerModel() : PowerModel(){

}

char *UniformPowerModel::Identify(){
  return (char *)"Uniform Power Model";
}

void UniformPowerModel::dumpStats(FILE *f){
  HSLOG(f,"Stats for %s\n",this->Identify());
}

PowerModel::QueryResult *UniformPowerModel::tick(unsigned long currentTick, float powerInWatts){

  return this->queryResult;

}

PowerModel::QueryResult *UniformPowerModel::tick(unsigned long currentTick){

  queryResult->dead = false; 

  return queryResult;

}

UniformPowerModel::~UniformPowerModel(){


}

extern "C" PowerModel *Create(){

  return new UniformPowerModel();

}
